package com.example.lib_common.http

import androidx.annotation.Keep


data class HttpResponse<T>( val errorCode: Int = -1000, var errorMsg: String? = null, var data: T? = null) {
    fun isSuccessful(): Boolean {
        return errorCode == 0;
    }
}